package com.niodata.dp.plugin.yarn.log;

import java.io.IOException;
import java.lang.instrument.Instrumentation;


public class LogInitializationAgentV2 {

  /**
   * premain.
   */
  public static void premain(String args, Instrumentation inst) throws IOException {
    String info = "init by java agent2!!!!";
    System.out.println(info);
    try {
      new Thread(new LogCollectV2()).run();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
}
